var servidor="localhost/leonardo/classes";
function popup( link, nomeJanela, largura, altura)
{
    if ( !window.focus )
       return true;
    var href;
    if (typeof(link) == 'string')
       href=link;
    else
       href=link.href;
    window.open( href, nomeJanela, 'width='+largura+',height='+altura+',scrollbars=yes,left=300,top=200' );
    return false;
}

function MostrarDiv ( value, div )
{
         if ( value != 0 )
            div.style.display = "block";
         else
            div.style.display = "none";
}

function EsconderDiv ( div )
{
            div.style.display = "none";
}
